package com.erp.staobaotrasg.utils.m;

import android.app.Activity;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;


/**
 * Created by cfg on 2016/3-29
 * function: 界面标题栏的控制
 */
public class MCTitleBarUtil {

    private static TextView txt_title; //标题栏的中心的文字
    private static RelativeLayout rl_back; //返回到按钮
    private static TextView txt_right_1;
    private static ImageView img_right_1;
    private static TextView txt_right_2;
    private static ImageView img_right_2;
    static RelativeLayout relativeLayout;

    private MCTitleBarUtil() {
    }

    /**
     * 只有一个标题的控件
     *
     * @param context
     * @param title
     */
    public static void setCommenTitleBar(Activity context, String title) {
        if (title != null) { //判断设置的标题文字是否为空
          //  txt_title = (TextView) context.findViewById(R.id.tv_titlebar_wb_title);
            txt_title.setText(title);
        }
    }



}
